#ifndef FILE_OPERATE_H_
#define FILE_OPERATE_H_

#include <cstdint>
#include <memory>
class Description;
class FileOperate
{
public:
    explicit FileOperate(std::shared_ptr<Description> description);
    int Read(uint8_t * data, int length) const;
    int Write(const uint8_t * data, int length) const;

private:
    std::shared_ptr<Description> m_description;
};

#endif
